package com.kaixuan.mvvmdemo.bean;

import android.databinding.ObservableField;
import android.databinding.ObservableInt;

/**
 * Created by kaixuan on 2017/3/20.
 */
public class UserBean {

    public final ObservableField<String> name = new ObservableField<>();
    public final ObservableInt age = new ObservableInt();

    public UserBean(String name,int age) {
        this.name.set(name);
        this.age.set(age);
    }
}
